part of '../../store.dart';

class _MigrationToLastVersionStoreIsolateTask extends Equatable implements _StoreIsolateTask {
  const _MigrationToLastVersionStoreIsolateTask({
    required this.id,
    required this.lastVersion,
    required this.directoryPath,
  });

  @override
  final String id;

  final int lastVersion;
  final String directoryPath;

  @override
  List<Object?> get props {
    return [
      id,
      lastVersion,
      directoryPath,
    ];
  }
}

class _MigrationToLastVersionStoreIsolateTaskResult extends Equatable
    implements _StoreIsolateTaskResult {
  const _MigrationToLastVersionStoreIsolateTaskResult({
    required this.taskId,
  });

  @override
  final String taskId;

  @override
  List<Object> get props {
    return [
      taskId,
    ];
  }
}
